<html>
<head>
  <style>
    body { padding: 20px }
  </style>
</head>
<body>
  <div id="app"></div>
  <script type="module">
    import { html, render } from 'https://unpkg.com/htm/preact/standalone.module.js'

    const App = () => html`<div>Hello</div>`

    render(html`<${App} />`, document.getElementById('app'))
  </script>
</body>
</html>
